import request from '@/utils/request'

export function userActivityList(data) {
  return request({
    url: '/userActivity',
    method: 'get',
    data
  })
}

export function userActivityPost(data) {
  return request({
    url: '/userActivity',
    method: 'post',
    data
  })
}

export function userActivityPatch(data) {
  return request({
    url: `/userActivity/${data.id}`,
    method: 'patch',
    data
  })
}
